package com.zc.web.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.zc.web.domain.TodayGoal;

import java.util.List;

/**
 * 今日目标Service接口
 *
 * @author zc
 * @date 2025-09-29
 */
public interface ITodayGoalService extends IService<TodayGoal>
{
    /**
     * 查询今日目标
     *
     * @param id 今日目标主键
     * @return 今日目标
     */
    public TodayGoal selectTodayGoalById(Long id);

    /**
     * 查询今日目标列表
     *
     * @param todayGoal 今日目标
     * @return 今日目标集合
     */
    public List<TodayGoal> selectTodayGoalList(TodayGoal todayGoal);

    /**
     * 新增今日目标
     *
     * @param todayGoal 今日目标
     * @return 结果
     */
    public int insertTodayGoal(TodayGoal todayGoal);

    /**
     * 修改今日目标
     *
     * @param todayGoal 今日目标
     * @return 结果
     */
    public int updateTodayGoal(TodayGoal todayGoal);

    /**
     * 批量删除今日目标
     *
     * @param ids 需要删除的今日目标主键集合
     * @return 结果
     */
    public int deleteTodayGoalByIds(Long[] ids);

    /**
     * 删除今日目标信息
     *
     * @param id 今日目标主键
     * @return 结果
     */
    public int deleteTodayGoalById(Long id);
}